package top.xierongsheng.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Data
@Schema(description = "角色资源对应数据Dto")
@Accessors(chain = true)
public class RoleResourceDto implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色资源ID")
    private String id;

    @Schema(description = "角色ID")
    private String roleId;

    @Schema(description = "需要添加的资源ID")
    private String addResourceId;

    @Schema(description = "需要删除的资源ID")
    private String delResourceId;
}
